import request from "@/utils/request";


export function list(params){
    return request({
        url:'/operation-log/page',
        method:'GET',
        params:params
    })
}


export function delOperLog(id){
    return request({
        url:'/operation-log/delete/'+id,
        method:'DELETE',
    })
}

export function deleteBatch(ids){
    return request({
        url:'/operation-log/deleteBatch',
        method:'POST',
        data:ids
    })
}

export function deleteAll(){
    return request({
        url:'/operation-log/deleteAll',
        method:'GET'
    })
}
